using MvvmFx.Common.ViewModels;
using MvvmFx.Common.ViewModels.Behaviors.Observable;

namespace MvvmFx.Samples.HowTos.PropertyHandlers.ViewModels
{
    public class NumberCollection : ViewModelCollection<NumberViewModel>,
                                    IObservableCollection<NumberViewModel>
    {
        #region IObservableCollection<NumberViewModel> Members

        public CollectionObserver<NumberViewModel> NewCollectionObserver()
        {
            return new CollectionObserver<NumberViewModel>(this);
        }

        #endregion
    }
}